<div class="flex-c hp100 border-box">
    <div class="search-box">
        <div class="condition-form">
            <el-form :inline="true" :model="formInline" ref="formInline" class="demo-form-inline">
                <el-form-item class="mr10" label="开单时间" prop="KDSJ">
                    <el-date-picker v-model="formInline.KDSJ" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
                        type="daterange" range-separator="至" :picker-options="pickerOptions" clearable
                        start-placeholder="开始日期" end-placeholder="结束日期">
                    </el-date-picker>
                </el-form-item>

                <el-form-item class="mr10" label="查询类型" prop="SEARCH_TYPE">
                    <el-radio-group v-model="formInline.SEARCH_TYPE">
                        <el-radio label="NJ_SQD">内镜</el-radio>
                        <el-radio label="FKLC_ZLYZ">妇科</el-radio>
                    </el-radio-group>
                </el-form-item>

                <el-form-item class="mr10" label="刷卡/码(三合一扫码墩)">

                    <YbCard @back="back" ref="ybCard"></YbCard>

                </el-form-item>

                <div></div>
                <el-form-item class="mr10" label="姓名" prop="BRXM">
                    <el-input type="text" v-model.trim="formInline.BRXM" placeholder="中文名、拼音、五笔" clearable style="width: 150px"
                        @keyup.enter.native="search_2()"></el-input>
                </el-form-item>
                <el-form-item class="mr10" label="就诊卡号" prop="BRBH">
                    <el-input type="text" v-model.trim="formInline.BRBH" placeholder="请输入" clearable
                        @keyup.enter.native="search_2()"></el-input>
                </el-form-item>
                <el-form-item class="mr10" label="住院号" prop="ZYH">
                    <el-input type="text" v-model.trim="formInline.ZYH" placeholder="请输入" clearable style="width: 120px"
                        @keyup.enter.native="search_2()"></el-input>
                </el-form-item>
                <!-- <el-form-item class="mr10" label="体检编号" prop="TJBH">
                    <el-input type="text" v-model.trim="formInline.TJBH" placeholder="请输入" clearable
                        @keyup.enter.native="search_2()"></el-input>
                </el-form-item> -->


                <el-form-item class="mr10">
                    <el-button :disabled="listLoading" type="primary" @click="search_2()" icon="el-icon-search"
                        size="mini">查询
                    </el-button>
                    <el-button type="warning" @click="resetForm('formInline')" icon="el-icon-close" size="mini">重置
                    </el-button>

                    <span class="color-danger fs12 ml10 bold">提示：医保电子凭证刷码，请先选择正确参保地，再进行刷码</span>
                </el-form-item>
            </el-form>

        </div>
    </div>

    <div class="flex1 flex-c">
        <el-table :data="tableData" :highlight-current-row="true" border class="wp100" empty-text="暂无相关数据" header-cell-class-name="table2_header_class"
            v-loading="listLoading" @row-dblclick="rowClick"  height="250">
            <el-table-column v-for="item in headers" :key="item.prop" :prop="item.prop" :label="item.label"
                :width="item.width">
            </el-table-column>
        </el-table>
        <!-- <pagination v-show="tableData.length>0" :total="listQuery.totalNum" :page.sync="listQuery.start"
            :limit.sync="listQuery.pageSize" @pagination="getList()" /> -->
        <div class="pt5 fs14 color-danger bold">温馨提示：为保障数据的关联度，仅当未开具胃肠镜检查申请单或者人流治疗时，方可在以下诊疗/住院信息列表操作添加同意书</div>
        <div >
            <el-table :data="tableData2" title="就诊信息" :highlight-current-row="true" border class="wp100" empty-text="暂无相关数据" header-cell-class-name="table2_header_class"
                height="230" v-loading="listLoading" @row-dblclick="rowClick2">
                <el-table-column v-for="item in headers2" :key="item.prop" :prop="item.prop" :label="item.label"
                    :width="item.width">
                </el-table-column>
            </el-table>
        </div>
    </div>
</div>